﻿//-----------------------------------------------------------------------
// <copyright file="Copyright.cs" author="Michael Herndon">
//     Copyright (c) Michael Herndon.  All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace Amplify.Twitter
{
	using System;
	using System.Collections.Generic;
	using System.Linq;
	using System.Text;

	/// <summary>
	/// The optional parameters of a twitter REST call. 
	/// </summary>
	public class DefaultOptions
	{
		/// <summary>
		/// Initializes a new instance of the <see cref="DefaultOptions"/> class.
		/// </summary>
		public DefaultOptions()
		{
			this.Page = 1;
			this.Since = DateTime.MinValue;
			this.SinceId = 1; 
		}

		/// <summary>
		/// Gets or sets the page number for paging.
		/// </summary>
		/// <value>The page.</value>
		public int Page { get; set; }


		/// <summary>
		/// Gets or sets the start date/time of the messages to bring back. Everything after this date will be brought back.
		/// </summary>
		/// <value>The since.</value>
		public DateTime Since { get; set; }

		/// <summary>
		/// Gets or sets the start id value of the messages to bring back. Everything after this id will be brought back.
		/// </summary>
		/// <value>The since id.</value>
		public int SinceId { get; set; }

		

		internal string SinceValue
		{
			get {
				return this.Since.ToString(Status.TimeFormat);
			}
		}

	

	}
}
